//
//  WJPermanentThread.h
//  线程保活
//
//  Created by wangjian on 2020/7/7.
//  Copyright © 2020 wangjian. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^WJPermanentThreadTask)(void);

NS_ASSUME_NONNULL_BEGIN

@interface WJPermanentThread : NSObject


- (void)executeTask:(WJPermanentThreadTask)task;

- (void)stop;

@end

NS_ASSUME_NONNULL_END
